home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
ISSUE16
/
TIPTRIX
/
LISTING4.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1996-11-15
|
342 b
|
13 lines
procedure TxDropFile.DefaultProc(var Message:TMessage);
begin
with Message do
Result := CallWindowProc(FOldWndProc,
TForm(Owner).Handle, Msg, wParam, lParam);
end;
procedure TxDropFile.FormWndProc(var Message:TMessage);
begin
if Message.Msg = WM_DROPFILES thenwmDropFiles(Message)
elseDefaultProc(Message);
end;